彻底解决Could not transfer artifact org.apache.maven.plugins问题

您所在的位置:网站首页 could not transfer artificat 彻底解决Could not transfer artifact org.apache.maven.plugins问题

彻底解决Could not transfer artifact org.apache.maven.plugins问题

2024-05-24 06:51| 来源: 网络整理| 查看: 265

今天在学习maven框架的时候出现Could not transfer artifact org.apache.maven.plugins问题,后面根据很多博客综合总结,终于解决了,现在分享一下我的方法 1、首先保证你的settings配置没问题

这里打开File - settings进行路径配置,选择自己的maven路径进行设置。

2、maven中的settings.xml文件中的镜像资源配置,代码如下

alimaven central aliyun maven http://maven.aliyun.com/nexus/content/repositories/central/ junit junit Address/ http://jcenter.bintray.com/ central

配置阿里云的镜像资源。 3、更改idea中的settings设置,解决证书等问题,向File - settings中的maven - importing中添加这句

-Dmaven.wagon.http.ssl.insecure=true -Dmaven.wagon.http.ssl.allowall=true -Dmaven.wagon.http.ssl.ignore.validity.dates=true

点击other settings选项 如图所示 到这里基本就ok了,最后祝你们好运,能够快速解决! 本人新人一枚,如果有问题,欢迎各位大佬指教,谢谢!



【本文地址】


今日新闻


推荐新闻


CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3